EasyTCPSocket.WaitForMessage Method

Wait for a message identified by the value of Command. Returns a String, containing the message text.

Syntax

EasyTCPSocket.WaitForMessage Command, Timeout


Parameters

Command

Integer

Timeout

Integer


Timeout is the amount of time in seconds that the socket will wait for a message before stopping.